package com.webside.front.index.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.webside.front.common.model.AdvertisementEntity;
import com.webside.front.common.model.BSeries;
import com.webside.front.common.model.Bdictionary;
import com.webside.front.common.model.PBanner;
import com.webside.front.common.model.SubjectEntity;
import com.webside.front.common.model.VideoFromWeb;

public interface IndexService {
	    
		
	   //条件查询电影类型
	   List<Bdictionary> selectByPrimary(Bdictionary bdictionary);
		//条件查询电视剧类型
	   List<Bdictionary> selectTVplay(Bdictionary bdictionary);
	    //条件查询动漫类型
	   List<Bdictionary> selectComic(Bdictionary bdictionary);
	   //查询关键词
	   List<Bdictionary> selectKeywords();
	   //查询网页标题，描述网页关键词
	   List<Bdictionary> selectPageInfo();
	   //查询全部轮播图
	    public List<PBanner> getAllSubject();
	     //查询全部合作伙伴
	    public List<PBanner> getAllTarget();
 
		//影迷力荐
	    List<BSeries> selectByPrimaryALL();
	    //猜你喜欢
	    List<BSeries> selectByPrimarySelective(BSeries record);
	    //激情预告
	    List<BSeries> selectByPrimaryTrailer(BSeries record);
	    List<VideoFromWeb> selectTrailer();
	    //卫视同步
	    List<BSeries> selectByallSatellite(BSeries record);
	    List<BSeries> selectSatellite(BSeries record);
	     //日韩热播
	    List<BSeries> selectByKorea(BSeries record); 
	    List<BSeries> selectKorea(BSeries record);
	    //美剧精选
	    List<BSeries> selectAmerican(BSeries record);
	    //佳品有约
	    List<BSeries> selectJiapin(BSeries record);
	    List<BSeries> selectByJiapin(BSeries record);
	    List<BSeries> selectByALLJiapin(BSeries record);
	    //影院大片
	    List<BSeries> selectCinema(BSeries record); 
	    //动漫剧场 
	    List<BSeries> selectByAnimation(BSeries record); 
	    List<BSeries> selectAnimation(BSeries record);
	    //电视剧榜
	    List<BSeries> selectplay(BSeries record);
	    List<BSeries> selectHomePlay(Map<String,Object> condition);
	    //佳品电影榜
	    List<BSeries> selectJiapinplay(BSeries record);
	    //电视剧影迷力荐
	    List<BSeries>selectByTvplayALL();
	    //佳品电影影迷力荐
	    List<BSeries>selectByLikeCount();
	    //广告投放
	    List<HashMap<String,Object>> queryAdByAll(String date,String code);
	    //查询优酷资源
	    VideoFromWeb selectVideoById(Long id);
	    //收集资源表添加播放次数
	    Integer addPlayCount(VideoFromWeb videoFromWeb);
	    //收集资源表添加点赞次数
	    Integer addLikeCount(VideoFromWeb videoFromWeb);
	    //查询绑定剧集预告
	   List<VideoFromWeb> queryByBind(Integer bindId,Integer Id);
	   //热点1大11小
	   List<VideoFromWeb> selectReDianPlayFirst(Map<String, Object> condition);
	   List<VideoFromWeb> selectReDianPlay(Map<String, Object> condition);
	   //查询专题
	   List<SubjectEntity> getSubjectList();
	   //查询热剧
	   List<BSeries> selectTVPlay(Map<String, Object> condition);
	   //热剧榜·国内
	   List<BSeries> selectGuoNeiTVPlay(Map<String, Object> condition);
	   //热剧榜·日韩
	   List<BSeries> selectRiHanTVPlay(Map<String, Object> condition);
	   //热剧榜·欧美
	   List<BSeries> selectOuMeiTVPlay(Map<String, Object> condition);
	   //花絮
	   List<VideoFromWeb> selectHuaXuPlay(Map<String, Object> condition);
	   //佳片
	   List<BSeries> selectMoviePlay(Map<String, Object> condition);
	   //佳片·国内
	   List<BSeries> selectGuoNeiMoviePlay(Map<String, Object> condition);
	   //佳片·日韩
	   List<BSeries> selectRiHanMoviePlay(Map<String, Object> condition);
	   //佳片·欧美
	   List<BSeries> selectOuMeiMoviePlay(Map<String, Object> condition);
	   //预告
	   List<VideoFromWeb> selectYuGaoPlay(Map<String, Object> condition);
	   //综艺
	   List<BSeries> selectVarityPlayFirst(Map<String, Object> condition);
	   List<BSeries> selectVarityPlay(Map<String, Object> condition);
	   //综艺风云榜
	   List<BSeries> selectVarityPlayBang(Map<String, Object> condition);
	   //娱乐八卦
	   List<VideoFromWeb> selectYuLePlay(Map<String, Object> condition);
	   //动画1大6小
	   List<BSeries> selectCartoonPlayFirst(Map<String, Object> condition);
	   List<BSeries> selectCartoonPlay(Map<String, Object> condition);
	   //动画榜
	   List<BSeries> selectCartoonBangPlay(Map<String, Object> condition);
	   
}
